<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');
?>

<!-- JavaScript -->
<script type="text/javascript" src="<?= base_url() ?>js/wufoo.js"></script>
<script src="<?= base_url() ?>js/chosen.jquery.js" type="text/javascript"></script>
<!-- CSS -->
<!--<link rel="stylesheet" type="text/css" href="<?= base_url() ?>css/form/form.css" media="screen, tv, projection" title="Default" />-->
<link rel="stylesheet" type="text/css" href="<?php echo base_url() ?>css/datepicker.css" media="screen, tv, projection" title="Default" />
<script type="text/javascript" src="<?= base_url() ?>js/datepicker.js"></script>
<style type="text/css">
table.stats{
	text-align: center;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif ;
	font-weight: normal;
	font-size: 11px;
	color: #000000;
	width: 200px;
	/* background-color: red;*/
	border: 0px;
	border-collapse: collapse;
	border-spacing: 0px;}

table.stats td{
	/* background-color: #900000;*/
	color: #000;
	padding: 4px;
	/*text-align: center;*/
	border: 2px #000000 solid;
	font-weight: bold;}

table.stats td.hed{
	background-color: #E73737;
	color: #fff;
	padding: 4px;
	/*text-align: center;*/
	border-bottom: 2px #FFABAB solid;
	font-size: 12px;
	font-weight: bold;}

.header {
    border:outset 1px #ccc;
    background:#999;
    color:#000000;
    font-weight:bold;
    padding: 1px 2px;
    background:url(../../../images/formbg2.gif) left top;
    border-collapse    : collapse;
    font-size        : 12px;
}
.tab {
    font-family        : Verdana;
	font-size          : 12px;
	color              : #000000;
	background-color   : #FFFFFF;
	border            : groove 2px #666666;
	border-collapse    : collapse;
}
.fieldset2{
	border-color:#CC0000;
	height:250px;
}
</style>
<div id="container">
	<?
		$value['legend'] = "Form Input Aspek Penilaian";
		$value['info'] = "Form Input Aspek Penilaian";
		$value['act_form'] = "perpus/list_pinjam/peminjaman/";
	?>
	
	<?= form_open($value["act_form"],'class="wufoo" name="form_katalog"'); ?>
	
	<?php if (!empty($err_msg)): ?>
		<div class="ret_error">
			<?php echo $err_msg; ?>
		</div>
	<?php endif; ?>
 <!-- Konten -------------------------------------------------------------------------->
	<div align="center">
		<table class="stats">
		<tr height="30"><td colspan="2" align="center">Form Peminjaman</td></tr>
		<tr>
		   <td align="center"nowrap width="250" >
				<input style="background:#e0e2e3" class="field text" type="text" maxlength="20" size="20" name="kode_eksemplar" id="kode_eksemplar" readonly value=""/>	
				<a href="javascript:goPopup()" ><img src="<?php echo base_url().'images/magnifier.png'?>"/></a>
				&nbsp;&nbsp;&nbsp;<input id="saveForm" class="btTxt" type="submit" value="Pinjam" />
			</td>
		</tr>
		
		</table> 
	</div>
</div>
<?= form_close(); ?>
</form>
</div><!--container-->

<script type="text/javascript">
   
function goPopup(){
	win = window.open("<?php echo base_url().'index.php/perpus/list_pinjam/list_eksemplar'?>","popup_eksemplar","width=700,height=550,scrollbars=0");
	win.focus();
}


</script>